export default {
    namespaced: true,
    state:{
        form : {
            csc_name : "",
            csc_address : "",
            csc_phone : "",
            csc_weixin : "",
            csc_gz_qrcode : "",
            csc_weibo : "",
            csc_weibo_qrcode : "",
            csc_business_hours : "",
            csc_copy : "",
            csc_icp : "",
            csc_descibe : "",
            csc_email : ""
        },
        customModelData : []
    },
    mutations:{
        updateForm(state,data){
            state.form = data;
        },
        clearForm(state){
           state.form = {
                csc_name : "",
                csc_address : "",
                csc_phone : "",
                csc_weixin : "",
                csc_gz_qrcode : "",
                csc_weibo : "",
                csc_weibo_qrcode : "",
                csc_business_hours : "",
                csc_copy : "",
                csc_icp : "",
                csc_descibe : "",
                csc_email : ""
           }
        },
        updateCustomModelData(state,data){
            state.customModelData = data
        }
    }
  }